package lab02.test13;

public class Gymnastics extends ComputerAverage {
    float a;
    float b;
    float mix = a;
    float min = b;
    float c;
    float d;

    //定义求平均值

    public float getAverage() {

        return (c + d) / 2;
    }

    @Override
    float ComputerAverage(float grade) {
        System.out.println("平均分为：");


        return 0;
    }
//是子类，所以继承ComputerAverage类的行为和方法
}
